﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using GsifWeb4.Models;
using System.Web.Mvc;

namespace GsifWeb4.ViewModels
{
    public class OtherEventViewModel
    {
        public ovrigt_gsif Other { get; set; }
        public SelectList Teams { get; set; }

        public OtherEventViewModel(ovrigt_gsif other)
        {
            Other = other;

            Teams = new SelectList(GsifWeb4.Team.AllTeamsIncludingAllOption, GsifWeb4.Statuses.GetStatusFromDbValue(GsifWeb4.Team.AllTeamsIncludingAllOption, other.Lag));
        }
    }
}